<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>TayGod 免费企业建站系统 - 安装程序</title>
<meta name="keywords" content="TAYGOD,企业建站,企业网站,建站代码,php企业建站,php开源,企业模版,网站模版" />
<meta name="description" content="免费PHP企业建站系统 " />
<META HTTP-EQUIV="Pragma" CONTENT="no-cache"> 
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> 
<META HTTP-EQUIV="Expires" CONTENT="0">
<link href="{$theme_url}/images/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="wrap02">
	<div class="fm">
    	<div class="fm_logo"></div>
		<div class="content">
		
		<h1>安装第一步，环境检测</h1>

<table width="890" border="1" cellpadding="0" cellspacing="0" style="border-collapse:collapse; margin:16px 0 25px 30px;" >
  <tr style="font-weight:bold;">
    <td>检测项目</td>
    <td>需求状态</td>
    <td>当前状态</td>
    <td>检测结果</td>
  </tr>
  
  <tr>
  <td colspan="4" style="text-align: left;">&nbsp;&nbsp;基础环境</td>
  </tr>
  <tr>
    <td>PHP</td>
    <td>{$check_result['env']['phpversion']['lowest_version']}</td>
    <td>{$check_result['env']['phpversion']['curr_version']}</td>
    <td>
    	{if ($check_result['env']['phpversion']['check'])}
    	<img src="{$theme_url}/images/right.gif" width="25" height="25" />
    	{else}
    	<img src="{$theme_url}/images/wrong.gif" width="25" height="25" />
    	{/if}
    </td>
  </tr>

  <tr>
  <td colspan="4" style="text-align: left;">&nbsp;&nbsp;PHP库</td>
  </tr>
  {loop $check_result['func'] as $key=>$value}
  <tr>
    <td>{$key}</td>
    <td>开启</td>
    <td>{$value['check']? '开启' : '未开启'}</td>
    <td>
    	{if ($value['check'])}
    	<img src="{$theme_url}/images/right.gif" width="25" height="25" />
    	{else}
    	<img src="{$theme_url}/images/wrong.gif" width="25" height="25" />
    	{/if}
    </td>
  </tr>
  {/loop}

  <tr>
  <td colspan="4" style="text-align: left;">&nbsp;&nbsp;文件权限</td>
  </tr>
   {loop $check_result['files'] as $key=>$value}
  <tr>
    <td>{$key}</td>
    <td>可读写</td>
    <td>{$value['curr_attrib']}</td>
    <td>
    	{if ($value['check'])}
    	<img src="{$theme_url}/images/right.gif" width="25" height="25" />
    	{else}
    	<img src="{$theme_url}/images/wrong.gif" width="25" height="25" />
    	{/if}
    </td>
  </tr>
  {/loop}

  <tr>
  	{if ($check_result['total_check'] )}
	 <td colspan="4" style="color:green; font-weight:normal; font-size:18px; line-height:36px;">环境检测：通过</td>
	{else}
	 <td colspan="4" style="color:red; font-weight:normal; font-size:18px; line-height:36px;">环境检测：不通过</td>
	{/if}
  </tr>
</table>
	<span class="content_nb_but">
	<a href="{site_url('install/index')}" class="bt">上一步</a>
	<a href="{$check_result['total_check']?  site_url('install/step2')  : 'javascript:void(0);'}" class="bt">下一步</a>
	</span>
		</div>
	</div>
</div>

</body>
</html>







